<?php
namespace Amis\form;
class ConditionBuilder extends FormItem
{
    public string $type = 'condition-builder';

    public function fieldClassName(string $fieldClassName)
    {
        $this->fieldClassName = $fieldClassName;
        return $this;
    }

    public function source(string $source)
    {
        $this->source = $source;
        return $this;
    }

    public function fields(array $fields)
    {
        $this->fields = $fields;
        return $this;
    }

    public function showANDOR(bool $showANDOR)
    {
        $this->showANDOR = $showANDOR;
        return $this;
    }

    public function showNot(bool $showNot)
    {
        $this->showNot = $showNot;
        return $this;
    }

    public function searchable(bool $searchable)
    {
        $this->searchable = $searchable;
        return $this;
    }
}